package Bk.basic;

public class Ch04_Q3 {

	public static void main(String[] args) {
		Wine w = new Wine();
		w = new Wine( "a", "b", "c", "d", "e", 1, 2 );
		System.out.println( w.manufacturer );
		System.out.println( w.name );
		System.out.println( w.country );
		System.out.println( w.region );
		System.out.println( w.kind );
		System.out.println( w.year );
		System.out.println( w.grade );
		
	} // main


} // class

class Wine  {
	String manufacturer;
	String name;
	String country;
	String region;
	String kind;
	int year;
	int grade;
	
	public Wine() {  }
	public Wine( String manufString, String name, String country, String region, String kind, int year, int grade ) {
		this.manufacturer = manufacturer;
		this.name = name;
		this.country = country;
		this.region = region;
		this.kind = kind;
		this.year = year;
		this.grade = grade;
	}
	public Wine( String manufString, String name ) { 
		this.manufacturer = manufacturer;
		this.name = name;
	}

}



